package cn.itsource.zcn.user.controller;

import cn.itsource.zcn.user.domain.Logininfo;
import cn.itsource.zcn.user.service.ILogininfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

import java.util.List;


/**
 * (Logininfo)表控制层
 *
 * @author makejava
 * @since 2021-08-19 21:43:14
 */
@RestController
@RequestMapping("/logininfo")
public class LogininfoController {
    /**
     * 服务对象
     */
    @Autowired
    private ILogininfoService tLogininfoService;

    /**
     * 查询全部数据
     *
     * @return List<>
     */
    @RequestMapping("/a")
    public List<Logininfo> queryAll() {
        return tLogininfoService.queryAll();
    }

}
